home *** CD-ROM | disk | FTP | other *** search
- This is the Readme.txt file for the component
- TTimerIterate contained within Timeit.pas.
-
- {*******************************}
- { Author: Eric Uber }
- { CIS Account: 71102,3034 }
- { Written: June 14th 1995. }
- { Freeware, distribute at will. }
- {*******************************}
-
- Description: TTimerIterate is different than TTimer.
- TTimerIterate executes (if enabled) its
- OnTimer event ONLY a specifed number of
- times. When done, it then fires another
- special event and disables itself.
-
- Why is this cool? If you wish to display
- a dialog for a set number of seconds then
- close the dialog, then this component is
- perfect.
-
- TTimerIterate adds ONE property and ONE event to
- the standard TTimer object.
-
- The property is:
-
- * NumTicks { The OnTimer Event will Fire }
- { this many times. }
-
- The Event is:
-
- * OnLastTick { Fires immediatly following }
- { the last OnTimer }
-
- Instructions: 1. Install component (RTFM)
- 2. Drop on form.
- 3. Set NumTicks property to a value > 0.
- 4. Put code in the OnTimer method.
- 5. Put code in the OnLastTick method.
- 6. Run program.
-
- The OnTimer method will executes NumTicks times
- and then execute the OnLastTick event and then
- disable itself.
-
- Install Note: TTimerIterate is a Non-Visual component that
- that is a subclassed imediate child class of
- Delphi's stock TTimer object. This thus requires
- ExtCtrls.pas or ExtCtrls.dcu to be available for
- this components installation and program inclusion.
-
- The point is Timerit.pas USES Extctrls.pas.
-
- {----------------------------------------------------------}
- Please report suggestions or bugs to...
- Author: Eric Uber
- CIS Account: 71102,3034
- {----------------------------------------------------------}